package packageModel;

import java.io.Serializable;

/**
 *
 * @author Lionel & Julien
 */
public class Langue implements Serializable {
    
    /*
     * LANGUE : 
     */
    
    /*
     * VARIABLE
     */
    
    private int codeId;
    private String denomination;
    private String denominationEng;
    
    /*
     * CONSTRUCTEUR
     */

    /**
     * 
     * @param codeId
     * @param denomination
     * @param denominationEng
     */
    public Langue(int codeId, String denomination, String denominationEng) {
        this.codeId = codeId;
        this.denomination = denomination;
        this.denominationEng = denominationEng;
    }
    
    /*
     * GET
     */
    
    /**
     * 
     * @return codeId
     */
    public int getCodeId() { return codeId; }
    /**
     * 
     * @return denomination
     */
    public String getDenomination() { return denomination; }
    /**
     * 
     * @return denominationEng
     */
    public String getDenominationEng() { return denominationEng; }
    
    /*
     * SET
     */
    
    /**
     * 
     * @param codeId
     */
    public void setCodeId(int codeId) { this.codeId = codeId; }
    /**
     * 
     * @param denomination
     */
    public void setDenomination(String denomination) { this.denomination = denomination; }
    /**
     * 
     * @param denominationEng
     */
    public void setDenominationEng(String denominationEng) { this.denominationEng = denominationEng; }
    
    /*
     * TOSTRING
     */
    
    @Override
    public String toString() {
        return denomination;
    }
    
}
